package com.csx.base.design.structure.adapter;

/**
 * @author cuisongxu
 * @date 2022/9/20 12:13
 */
public class Client {

    public static void main(String[] args) {

        // 测试通用适配器
//        TriplePin triplePin = new Adapter(new TV());
//        triplePin.electrify(1, 0, -1);

        // 测试专属适配器
        TriplePin triplePin = new TVAdapter();
        triplePin.electrify(1, 0, -1);
    }
}
